package com.sinothk.gpserver.modules.biz.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 俱乐部成员相关
 * </p>
 *
 * @author Liang Y.t.
 * @since 2021-08-29
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "GroupMember对象", description = "俱乐部成员信息")
public class GroupMemberDto {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "手机号码")
    private String phoneNum;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "头像")
    private String userAvatar;

    @ApiModelProperty(value = "男/女")
    private String sex;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "0：正常；1：禁用")
    private Integer state;

    @ApiModelProperty(value = "逻辑删除：0未删除;1删除;")
    private Integer deleted;

    @ApiModelProperty(value = "群号")
    private String groupId;

    @ApiModelProperty(value = "群内角色：0：成员，1：合伙人，2：管理员")
    private int groupRole;

    @ApiModelProperty(value = "群内积分")
    private Float memberCoins;
}
